// tb_MotionIndicator.v - Test the d3 display

`timescale  1 ns / 1 ns
module tb;
  
    reg       		clock = 0;
    reg		 		reset = 0;
      
    // define stimulus interval
    parameter IVL = 5000;
 
    // Generate 100MHz clock
    always #5 clock = ~clock;

	// internal variables	
	reg [7:0]	a3;			// ASCII digits
	
    wire [7:0]  out;
    Motion_Indicator tb_Indicator(
    //inputs
    .clk(clock),                // clock    
    .motion_input(a3),    // motion indicator input (0-6) Hex 

    //outputs
    .d3(out)
);

    // Test d3 display
    initial begin  
      #20 a3 = 8'b00000000;
      #20 a3 = 8'b00000001;
      #20 a3 = 8'b00000011;
      #20 a3 = 8'b00000111;
      #20 a3 = 8'b00001111;
      #20 a3 = 8'b00011111;
      #20 a3 = 8'b00111111;
      #20 a3 = 8'b01111111;
      #20 a3 = 8'b11111111;
	end

endmodule
	
